<template>
  <div class="box">
    404 <br />
    <button @click="router.push('/');">返回首页</button>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router"
const router = useRouter();

</script>

<style scoped>
.box{
  padding-top: 100px;
  text-align: center;
  box-sizing: border-box;
}
</style>